let _baseUrl;
let netUrl = '/';
let runModel = 'tx_release';
switch (runModel) {
    case 'debug_ts':
        _baseUrl = 'http://localhost:8081/'
        break;
    case 'debug_mid':
        _baseUrl = 'http://localhost:7001/'
        break;
    case 'tx_release':
        _baseUrl = 'https://lizetoolbox.top/'
        break;

}
/**
 * 这里维护所有的字典参数*/
let dicParams = {
    sexParam: [{
        value: 1,
        label: '男'
    },
        {
            value: 2,
            label: '女'
        },
        {
            value: 3,
            label: '未知'
        }]
}

const operate={
    ADD:1,  //新增
    EDIT:2,    //编辑
    DEL:3,  //删除
    SHOW:4   //查看
}
let ex = {
    setting: {
        _baseUrl,
        netUrl,
        pageSize: 20,
        pageIndex: 1,
        ...dicParams,
        operate
    },
    title: '中二少年工具箱',
    requestTimeout: 20000
}

export default ex;
